﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace BonsaiScrum.Mvc.Models
{
    public class TaskEditModel
    {
        [Required]
        [HiddenInput]
        public int StoryID { get; set; }

        [Required]
        [HiddenInput]
        public int TaskID { get; set; }

        [Required]
        [HiddenInput]
        public int ProjectID { get; set; }

        [Required]
        [DataType(DataType.MultilineText)]
        [StringLength(50)]
        public string Description { get; set; }

        [Required]
        public string Priority { get; set; }

        public SelectList Priorities { get; set; }
    }
}
